home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / PowerPlant / Everything / DModelessRadiosData.h < prev    next >
Encoding:
Text File  |  1998-10-11  |  1.0 KB  |  52 lines  |  [TEXT/CWIE]

  1. // DModelessRadiosData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMDataDef.h"
  6.  
  7. class LFileStream;
  8.  
  9.  
  10. const long    idRadioGroup3        = 'Rad3';
  11. const long    idGroup3        = 'Gro3';
  12. const long    idGraphic5        = 'Gra5';
  13. const long    idBevel3        = 'Bev3';
  14. const long    idText3        = 'Tex5';
  15.  
  16.  
  17. //----------
  18. class DModelessRadiosData : public AMDataDef {
  19. public:
  20.                 DModelessRadiosData ();
  21.     virtual        ~DModelessRadiosData ();
  22.  
  23. public:
  24.     void        CopyFrom        (DModelessRadiosData*        inOther);
  25.     void        ReadFromFile    (LFileStream*        inFile);
  26.     void        WriteToFile        (LFileStream*        inFile);
  27.  
  28. public:        // accessors
  29.     SInt16        GetRadioGroup3 () const;
  30.     void        SetRadioGroup3    (SInt16        inValue);
  31.  
  32.     SInt16        GetGroup3 () const;
  33.     void        SetGroup3    (SInt16        inValue);
  34.  
  35.     SInt16        GetGraphic5 () const;
  36.     void        SetGraphic5    (SInt16        inValue);
  37.  
  38.     SInt16        GetBevel3 () const;
  39.     void        SetBevel3    (SInt16        inValue);
  40.  
  41.     SInt16        GetText3 () const;
  42.     void        SetText3    (SInt16        inValue);
  43.  
  44.  
  45. protected:
  46.     SInt16        mRadioGroup3;
  47.     SInt16        mGroup3;
  48.     SInt16        mGraphic5;
  49.     SInt16        mBevel3;
  50.     SInt16        mText3;
  51. };
  52.